Skip to main content

Configuration

The Model Bridge Plugin can be configured via the config.ini file located in the plugin directory. Usually located at:

C:\Program Files\Magic Systems of Systems Architect\plugins\<Model_Bridge_Plugin>\config.ini

The plugin can be configured to listen on different interfaces and ports, and the script run on button press can be configured here as well.

Defaults

If you want to return the config.ini to its original state, default values are provided below:

#-------------------------Server URI Conifg-------------------------------#
#-------------------------------------------------------------------------#
# Bind to all interfaces on port 8090
# plugin.uri=0.0.0.0:8090

# Bind to specific interface on port 8090
# plugin.uri=192.168.100.1:8090

# Bind to localhost, custom port
plugin.uri=8090

#-------------------------------------------------------------------------#
#-----------------------------Script Config-------------------------------#
#-------------------------------------------------------------------------#
# Define script path, args and interpreter to be called on button press
# script.path=C:/path/to/your/script.py
# script.args=--option1 value1 --flag2
# script.interpreter=python```